home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 2
/
SPACE - Library 2 - Volume 1.iso
/
utility
/
264
/
man
/
expand.man
< prev
next >
Wrap
Text File
|
1988-06-17
|
1KB
|
67 lines
EXPAND ST-UNIX User's Manual EXPAND
COMMAND
expand, unexpand - expand tabs into spaces; unexpand spaces
into tabs.
FORMAT
expand [ -tabstop ] [ -tab1,tab2,...,tabn ] [ file ... ]
unexpand [ -a ] [ file ... ]
DESCRIPTION
_✓E_✓x_✓p_✓a_✓n_✓d reads the files in turn (or the standard input if no
files are given), converting tabs into blanks and writing
the result on the standard output.
If a single _✓t_✓a_✓b_✓s_✓t_✓o_✓p argument is given then tabs are set
_✓t_✓a_✓b_✓s_✓t_✓o_✓p spaces apart instead of the default 8. If multiple
tabstops are given then the tabs are set at those specific
columns.
_✓U_✓n_✓e_✓x_✓p_✓a_✓n_✓d reads the files (or standard input if no files are
given) and converts multiple spaces to tabs where possible.
Normally only leading blanks and tabs are converted. If the
-a option is given, then tabs are inserted whenever they
would compress the resultant file by replacing two or more
characters.
Printed 28/March/1988 30 March 1987 1